package org.jeecg.modules.nurse_nurses.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.aspect.annotation.Dict;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.UnsupportedEncodingException;

/**
 * @Description: 护工评论
 * @Author: jeecg-boot
 * @Date: 2024-06-04
 * @Version: V1.0
 */
@Data
@TableName("nurse_nurses_comment")
@ApiModel(value = "nurse_nurses_comment对象", description = "护工评论")
public class NurseNursesComment implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 更新时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 评论标题
     */
    @Excel(name = "评论标题", width = 15)
    @ApiModelProperty(value = "评论标题")
    private String title;
    /**
     * 评价
     */
    @Excel(name = "评价", width = 15)
    @ApiModelProperty(value = "评价")
    private String evaluate;
    /**
     * 评论详情
     */
    @Excel(name = "评论详情", width = 15)
    @ApiModelProperty(value = "评论详情")
    private String description;
    /**
     * 评分
     */
    @Excel(name = "评分", width = 15)
    @ApiModelProperty(value = "评分")
    private Integer rate;
    /**
     * 评论图片
     */
    @Excel(name = "评论图片", width = 15)
    @ApiModelProperty(value = "评论图片")
    private String pic;
    /**
     * 护工ID
     */
    @ApiModelProperty(value = "护工ID")
    private String nursesId;
    /**
     * 订单ID
     */
    @Excel(name = "订单ID", width = 15)
    @ApiModelProperty(value = "订单ID")
    private String orderId;
    /**
     * 状态
     */
    @Excel(name = "状态", width = 15)
    @Dict(dicCode = "valid_status")
    @ApiModelProperty(value = "状态")
    private String status;
}
